<?php /* Smarty version 2.6.26, created on 2018-04-28 15:26:36
         compiled from protected/View/home/news/list.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'mb_substr', 'protected/View/home/news/list.tpl', 13, false),)), $this); ?>

<div id="main1">
  <div class="tittle_cp"><span>公司新闻</span><tt>Company News</tt></div>
  <div class="conent_cp">
    <div class="sous"><a href="#">公司新闻</a><a href="#">行业新闻 <?php echo $this->_tpl_vars['Name']; ?>
 </a></div>

  <!--   <?php echo '<?php'; ?>
 foreach($data as $v){<?php echo '?>'; ?>
 -->
   <?php $_from = $this->_tpl_vars['data']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['k'] => $this->_tpl_vars['v']):
?>
   <!-- 字符下标要用点，数字下标要用[] -->
     <div class="xinwen"><h1><a href="./html/<?php echo $this->_tpl_vars['v']['id']; ?>
.tpl"><?php echo $this->_tpl_vars['v']['id']; ?>
<?php echo $this->_tpl_vars['v']['title']; ?>
</a></h1>
    <p><a href="./html/<$v.id}>.tpl"><?php echo ((is_array($_tmp=$this->_tpl_vars['v']['content'])) ? $this->_run_mod_handler('mb_substr', true, $_tmp, 0, 24) : mb_substr($_tmp, 0, 24)); ?>
...</a> </p><!-- mb_substr:0:24 -->
    <p><span>时间：<?php echo $this->_tpl_vars['v']['create_time']; ?>
</span>   </p>
    </div>
<?php endforeach; endif; unset($_from); ?>
<!--   <?php echo '<?php'; ?>
 }<?php echo '?>'; ?>
 -->

    <div style="height:30px;"></div>
    <div class="fenye"><span>第1/5页</span>
    <a href="">首页</a>
     <a href="">上一页</a>
    <a href="index.php?c=news&a=list&p=1">1</a>
    <a href="index.php?c=news&a=list&p=2">2</a>
    <a href="index.php?c=news&a=list&p=3">3</a>
    <a href="">下一页</a>
    <a href="">最后一页</a>
    <span>共50条记录</span></div>
  </div>
<div style="clear:both; height:20px;">

</div>

</div>
</div>
<div class="clearfix"></div>